package cn.iocoder.yudao.module.forward.controller.admin.datasource.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 信息源新增/修改 Request VO")
@Data
public class DataSourceSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "15385")
    private Integer id;

    @Schema(description = "信息源名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "信息源名称不能为空")
    private String name;

    @Schema(description = "是否启用", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否启用不能为空")
    private Boolean enable;
//
//    @Schema(description = "转发服务ID")
//    private String brokerId;
}